package goodweather.cjxy.edu.gson;

import com.google.gson.annotations.SerializedName;

/**
 * Created by 26706 on 2018/3/24.
 * 具体天气信息
 *
 * base:{
 *     city:"武汉",
 *     id:"dsdsdsdds55",
 *     update:{
 *         loc:2018-3-24 15:13
 *     }
 * }
 */

public class Basic {
  @SerializedName("city")
  public String cityName;

  @SerializedName("id")
  public String weatherId;

  public  Update update;

  public class Update{
      @SerializedName("loc")
      public String updateTime;

      @Override
      public String toString() {
          return "Update{" +
                  "updateTime='" + updateTime + '\'' +
                  '}';
      }
  }

    @Override
    public String toString() {
        return "Basic{" +
                "cityName='" + cityName + '\'' +
                ", weatherId='" + weatherId + '\'' +
                ", update=" + update +
                '}';
    }
}